首页

欢迎

 

Welcome

欢迎, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

数论 >> 一般数论 >> 初等数论
Questions in category: 初等数论 (Elementary Number Theory).

Euler's totient function

Posted by haifeng on 2016-01-11 16:42:40 last update 2021-11-29 16:58:29 | Answers (0)


Euler's totient function $\phi(m)$ 定义为 $\{1,2,3,\ldots,m-1\}$ 中与 $m$ 互素的元素个数.

显然对于素数 $p$, 有 $\phi(p)=p-1$.

证明: $\phi(2p)=p-1$.

问 $\phi(p^2)$ 等于多少?

事实上, Euler phi function 具有乘积性, 如果 $(m,n)=1$, 则

\[
\phi(mn)=\phi(m)\phi(n).
\]

 

Euler 证明

\[
\frac{\phi(n)}{n}=\prod_{p|n}(1-\frac{1}{p}),
\]

这里 $p$ 取遍 $n$ 的所有素因子.

 

有了这个公式, 就很容易计算一个正整数在欧拉函数下的值.

 


Reference:

https://en.wikipedia.org/wiki/Euler's_totient_function